package com.plian.system.entity.bpa;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分标准配置表;
 *
 * @author : jiatp
 * @date : 2022-12-27
 */
@Data
@ApiModel(value = "积分标准配置表", description = "")
@TableName("bpa_industry_credit_config")
public class BpaIndustryCreditConfig implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(name = "主键", notes = "")
    @TableId
    private String id;
    /**
     * 主表ID
     */
    @ApiModelProperty(name = "主表ID", notes = "")
    private String fpid;

    /**
     * 比较类型
     */
    @ApiModelProperty(name = "比较类型", notes = "")
    private String compareTypeCode;
    /**
     * 比较类型
     */
    @ApiModelProperty(name = "比较类型", notes = "")
    private String compareTypeName;

    /**
     * 对比标准
     */
    @ApiModelProperty(name = "对比标准", notes = "")
    private String compareStandardCode;
    /**
     * 对比标准
     */
    @ApiModelProperty(name = "对比标准", notes = "")
    private String compareStandardName;

    /**
     * 自定义型数值
     */
    @ApiModelProperty(name = "自定义型数值", notes = "")
    private String customValue;
    /**
     * 2超
     *
     */
    @ApiModelProperty(name = "2超", notes = "")
    private String dw1;
    /**
     * 1超
     */
    @ApiModelProperty(name = "1超", notes = "")
    private String dw2;
    /**
     * 超档
     */
    @ApiModelProperty(name = "超档", notes = "")
    private String dw3;
    /**
     * 优秀值
     */
    @ApiModelProperty(name = "优秀值", notes = "")
    private String dw4;
    /**
     * 良好值
     */
    @ApiModelProperty(name = "良好值", notes = "")
    private String dw5;
    /**
     * 平均值
     */
    @ApiModelProperty(name = "平均值", notes = "")
    private String dw6;
    /**
     * 较低值
     */
    @ApiModelProperty(name = "较低值", notes = "")
    private String dw7;
    /**
     * 较差值
     */
    @ApiModelProperty(name = "较差值", notes = "")
    private String dw8;
    /**
     * n差值
     */
    @ApiModelProperty(name = "n差值", notes = "")
    private String dwn;


    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(name = "创建时间", notes = "")
    private Date createTime;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE, timezone = "Asia/Shanghai")
    @ApiModelProperty(name = "更新时间", notes = "")
    private Date updateTime;


}